package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Emp {
    private Integer eid;
    private String ename;
    //对一：一个员工属于一个部门,域属性
    private Dep dep;
    // 数据库外键
//    private Integer did;
}
